package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
public class Follow {
    //粉丝id(主动方)
    private Long fanId;
    //被关注者(被动方)
    private Long followId;
    //关注时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date followTime;
}